package com.itheima.service.sms;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.core.PageInfo;
import com.itheima.pojo.sms.SmsFlashPromotionProductRelation;

import java.util.List;

public interface SmsFlashPromotionProductRelationService extends IService<SmsFlashPromotionProductRelation> {

    /*批量选择商品添加关联*/
    void create(List<SmsFlashPromotionProductRelation> smsFlashPromotionProductRelations);

    void updateBy(SmsFlashPromotionProductRelation smsFlashPromotionProductRelations);
/*分页*/
    PageInfo listAll(Integer flashPromotionId, Integer flashPromotionSessionId, Integer pageNum, Integer pageSize);
}
